package com.project.class4_8.proxyMarke.bean;

import java.time.LocalDate;

public class OutBean {
    /**出库商品编号*/
    private int id;
    /**商品编号*/
    private String productID;
    /**出库时间*/
    private final LocalDate time = LocalDate.now();
    /**出库数量*/
    private int number;

    public OutBean() {
    }

    public OutBean( String productID, int number) {
        this.productID = productID;
        this.number = number;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProductID() {
        return productID;
    }

    public void setProductID(String productID) {
        this.productID = productID;
    }

    public LocalDate getTime() {
        return time;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "OutBean{" +
                "id=" + id +
                ", productID='" + productID + '\'' +
                ", time=" + time +
                ", number=" + number +
                "\n";
    }
}
